<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<!DOCTYPE html>
<html>
<head>
    <title>职工管理系统</title>
    <!-- 静态包含,静态包含会把jsp合并过来形成一个整个servlet输出. 动态会多个sevlet的结果合并 -->
    <%@include file="./head.jsp" %>
    <!-- 引入jstl -->
    <%@include file="./taglib.jsp" %>
    <!-- 项目公共 JavaScript 文件 -->
    <link href="/resources/css/main.css" rel="stylesheet">
    <script src="/resources/js/main.js"></script>
    <script src="/resources/js/common/pageHandler.js"></script>
</head>
<body>
    <!-- 头部导航部分开始 -->
    <nav class="navbar navbar-inverse navbar-fixed-top">
        <div class="container-fluid">
            <div class="navbar-header">
                <a class="navbar-brand"  href="#">职工管理系统</a>
            </div>
            <form method="post" action="/login/out" id="mainForm"></form>
            <div class="navbar-collapse collapse">
                <ul class="nav navbar-nav navbar-right">
                    <li><a id="yhxm" href="javascript:changeUserInfo('${userInfo.yhm}')">欢迎，${userInfo.ygxm}</a></li>
                    <li><a href="javascript:void(0)" onclick="if(confirm('您确认退出系统?')){$('#mainForm').submit();};">退出</a></li>
                </ul>
            </div>
        </div>
    </nav>
    <!-- 头部导航部分结束 -->

    <div class="container-fluid">
        <div class="row">
            <!-- 左侧菜单部分开始 -->
            <div class="col-ms-3 col-md-2 sidebar">
                <ul class="nav nav-sidebar" id="navMenu">

                </ul>
            </div>
            <!-- 左侧菜单部分结束 -->
            <!-- 右侧部分开始 -->
            <div class="embed-responsive" id="iframeWrap">
                <iframe class="embed-responsive-item" src="" width="100%" height="100%"></iframe>
            </div>
            <!-- 右侧部分结束 -->
            </div>
        </div>
    </div>

</body>
</html>